#pragma once

#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <sys/socket.h>

class SocketCommunication
{
public:
    SocketCommunication(const std::string &ip, int port);
    ~SocketCommunication();

    bool connect();
    void disconnect();
    bool sendData(const std::string &data);
    std::string receiveData();

private:
    std::string m_ip;
    int m_port;
};
